 var prefs = gadgets.views.getParams();
  
  var view = prefs["view"];
  /* pega content */

document.getElementById("getThis").value = view;

	function ShowMain(vr) 
	{
    window.top.location='http://sandbox.orkut.com/Main#Application?appId=217760369526&bpc=1&appParams={"view":"'+vr+'"}'
    };
	
	function lol()
	{
		var car=document.getElementById("getThis").value;
		ShowMain(''+car+'');
	}


	function checkV()
	{
		if (document.getElementById("getThis").value==""){
			}
		if (document.getElementById("getThis").value=="undefined"){
			   window.top.location='http://sandbox.orkut.com/Main#Application?appId=217760369526&bpc=1&appParams={"view":"Gui"}';
			}
		else {
			   $.getScript('http://gapliclol.googlecode.com/svn/trunk/'+document.getElementById("getThis").value+'.js');
			}
	}
checkV();
	function ob(url) 
	{
    window.top.location='http://sandbox.orkut.com/'+url+''
    };